﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SAM_Edu.entity
{
    public class LicenseKey
    {
        private string licensekey;
        private int activationStatus;
        private DateTime activationDTS;
        private DateTime lastValidationDTS;
        private int lastValidationStatus;
        private int numbOfWarning;

        public string Licensekey
        {
            get
            {
                return this.licensekey;
            }
            set
            {
                this.licensekey = value;
            }
        }
        public int ActivationStatus
        {
            get
            {
                return this.activationStatus;
            }
            set
            {
                this.activationStatus = value;
            }
        }
        public DateTime ActivationDTS
        {
            get
            {
                return this.activationDTS;
            }
            set
            {
                this.activationDTS = value;
            }
        }
        public DateTime LastValidationDTS
        {
            get
            {
                return this.lastValidationDTS;
            }
            set
            {
                this.lastValidationDTS = value;
            }
        }
        public int LastValidationStatus
        {
            get
            {
                return this.lastValidationStatus;
            }
            set
            {
                this.lastValidationStatus = value;
            }
        }
        public int NumbOfWarning
        {
            get
            {
                return this.numbOfWarning;
            }
            set
            {
                this.numbOfWarning = value;
            }
        }
        public LicenseKey(string lkey, int aStatus, DateTime aDTS, DateTime lDTS, int lStatus, int nWarning)
        {
            licensekey = lkey;
            activationStatus = aStatus;
            activationDTS = aDTS;
            lastValidationDTS = lDTS;
            lastValidationStatus = lStatus;
            numbOfWarning = nWarning;
        }
    }
}
